package com.ohos.connect.devicecloud.iot.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
*   设备向云端注销  DTO
* */

@Getter
@Setter
public class DeviceRevokeDTO {

    @ApiModelProperty(value = "设备ID", position = 1)
    @NotBlank(message = "设备id不能为空")
    private String devId;

    @ApiModelProperty(value = "该设备下挂关联设备是否同步处理。默认不填写按照“0-不处理”执行。\n" +
            "0-不处理；", position = 1)
    private int associate;

}
